<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="Info.RoomInfo"%>
<%@page import="java.util.List"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改房间信息</title>
<link rel="stylesheet" href="css/pintuer.css">
<link rel="stylesheet" href="css/admin.css">
<script src="js/jquery.js"></script>
<script src="js/pintuer.js"></script>
</head>
<body>
<div class="loginleft fl">
		<div class="login_title">
			<h2>
			  <p align="center">修改房间信息</p>
			</h2><hr>
			<p align="center"></p>
		</div>
		<form name="form1" method="post" action="UpdateRoomS">
			<%
			   RoomInfo r = (RoomInfo) request.getAttribute("r");
			%>
	    <div class="biaodani">
	        <div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;&nbsp;&nbsp;ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
				    <input type="text" name="rid" readonly="readonly" value="<%=r.getRid()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;&nbsp;房间号：&nbsp;&nbsp;&nbsp;</label>
				    <input type="text" name="roomId" readonly="readonly" value="<%=r.getRoomId()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>房间面积：&nbsp;&nbsp;</label> 
					<input type="text" name="roomArea" readonly="readonly" value="<%=r.getRoomArea()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;床&nbsp;&nbsp;&nbsp;数：&nbsp;&nbsp;&nbsp;&nbsp;</label> 
					<input type="text" name="bedNum"  value="<%=r.getBedNum()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>房间单价：&nbsp;&nbsp;</label> 
					<input type="text" name="roomPrice" value="<%=r.getRoomPrice()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>房间类别：&nbsp;&nbsp;</label> 
					<input type="text" name="roomType"  value="<%=r.getRoomType()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>房间级别：&nbsp;&nbsp;</label> 
					<input type="text" name="roomLevel"  value="<%=r.getRoomLevel()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;&nbsp;卫生间：&nbsp;&nbsp;&nbsp;</label> 
					<input type="text" name="toilet" value="<%=r.getToilet()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;空&nbsp;&nbsp;&nbsp;调：&nbsp;&nbsp;&nbsp;&nbsp;</label> 
					<input type="text" name="airConditioner" value="<%=r.getAirConditioner()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;电&nbsp;&nbsp;&nbsp;视：&nbsp;&nbsp;&nbsp;&nbsp;</label> 
					<input type="text" name="TV" value="<%=r.getTV()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;电&nbsp;&nbsp;&nbsp;话：&nbsp;&nbsp;&nbsp;&nbsp;</label> 
					<input type="text" name="telephone" value="<%=r.getTelephone()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>房间状态：&nbsp;&nbsp;</label> 
					<input type="text" name="roomStatus"  value="<%=r.getRoomStatus()%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;备&nbsp;&nbsp;&nbsp;注：&nbsp;&nbsp;&nbsp;&nbsp;</label> 
					<input type="text" name="comments" value="<%=r.getComments()%>">
			</div>
		<div class="login_btn">
			<p align="center">
				&nbsp;&nbsp;&nbsp;&nbsp; 
				<input name="确定" type="submit"class="input-8" value="确定">
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
				<input name="重置" type="reset" class="submitbutton" id="submit_button" value="重置">
		</div>
	</div>
	</form>
	</div>
</body>
</html>